<?php
class Control_AnnounceData_delete {
	function delete() {
		$tagInfo = MooForm::request('tagInfo');
		$fileName = MooForm::request('fileName');
		$dirPath = ROOT_PATH . "/notices/";
		$filePath = $dirPath . $fileName;
		$rs = MooFile::rm($filePath);
		MooUtil::redirect("index.php?mod=AnnounceData&do=selectNotices&tagInfo=".$tagInfo);
	}
}